package com.demo.petshop.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  实体类。
 *
 * @author lenovo
 * @since 2025-06-09
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "orders")
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    private Integer orderId;

    private Integer userId;

    private String orderNumber;

    private Double totalAmount;

    private String status;

    private Integer addressId;

    private String paymentMethod;

    private String paymentStatus;

    private String createdAt;

    private String paidAt;

    private String shippedAt;

    private String completedAt;

}
